package com.github.pudding.service.impl;

import com.github.pudding.model.University;
import com.github.pudding.persistence.UniversityMapper;
import com.github.pudding.service.UniversityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Stephen
 * @since 2018/9/4
 */
@Service("universityService")
public class UniversityServiceImpl implements UniversityService {

    @Autowired
    private UniversityMapper universityMapper;

    @Override
    public void insert(University university) {
        universityMapper.insert(university);
    }
}
